package stackoverflow.domain.service;

import org.springframework.security.core.userdetails.UserDetailsService;

import stackoverflow.domain.user.User;

public interface UserService extends UserDetailsService 
{
	User createNewUser(String userName, String password);
	User getUser(String userId);
	boolean isLoggedIn(String userId);
	void login(String userId);
	void logout(String userId);
}